/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

Array.prototype.indexOf = function(e)
{
    for (var i = 0; i < this.length; i++)
    {
        if (this[i] == e)
            return i;
    }
    return null;
}
Array.prototype.concatUniq$ = function(array)
{
    for (var i = 0; i < array.length; i++)
    {
        if (this.indexOf(array[i]))
            continue;
        else
            this.push(array[i])
    }
}